package org.acghub.mtdb.common;

import org.acghub.mtdb.common.exception.LifecycleException;

/**
 * @author zhouhe
 */
public interface Lifecycle<T> {

    void init(T t) throws LifecycleException;

    void close() throws LifecycleException;
}
